package com.quectel.sdk.zlm.constant;

import lombok.AllArgsConstructor;
import lombok.Getter;

/**
 * 在这里编写说明
 *
 * @author: rananxin
 * @email: ryan.ran@quectel.com
 * @date: 2023-01-13 16:44:00
 */
public class ZlmMediaKitConstants {

    public static final String DEFAULT_SECRET = "035c73f7-bb6b-4889-a715-d9eb2d1925cc";

    public static final String DEFAULT_APP = "live";

    public static final String DEFAULT_SERVER_ID = "your_server_id";

    @AllArgsConstructor
    public static enum RespCodeEnum {
        // 执行成功
        SUCCESS_CODE(0),
        // 业务代码执行失败
        OTHER_FAILED(-1),
        // 鉴权失败
        AUTH_FAILED(-100),
        // sql执行失败
        SQL_FAILED(-200),
        // 参数不合法
        INVALID_ARGS(-300),
        // 代码抛异常
        EXCEPTION(-400);
        @Getter
        private final int code;
    }
}
